package study;

//public class Student {
			//public int number;
			//public String name;//名字
			//public String sex;//性别
			//public Course[] course;
	    //public Student(int number, String name, String sex, Course[] course) {
	    	//this.number = number;
	    	//this.name = name;
	    	//this.sex = sex;
	    	//this.course = course;
	    //}
	    
	    //import sun.dc.pr.PRError;
	     
	    public class Student {
	        private String name;
	        private String num;
	        private String age;
	        private String address;
	        //构造方法
	        public Student() {}
	        public Student(String name,String num,String age,String address) {
	            this.address =address;
	            this.age = age;
	            this.name = name;
	            this.num = num;
	        }
	        //set get  方法
	     
	        public void setName(String name) {
	            this.name = name;
	        }
	     
	        public String getName() {
	            return name;
	        }
	     
	        public void setAge(String age) {
	            this.age = age;
	        }
	     
	        public String getAge() {
	            return age;
	        }
	     
	        public void setNum(String num) {
	            this.num =num;
	        }
	        public String getNum() {
	            return num;
	        }
	     
	        public void setAddress(String address) {
	            this.address = address;
	        }
	        public String getAddress() {
	            return address;
	        }
	    }